package cn.sofwin.day0107;

import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String pass = "n";
        while("n".equals(pass)){
            System.out.println("上午阅读教材，掌握理论部分");
            System.out.println("下午上机编程，掌握代码部分");
            System.out.println("是否合格：（y/n）");
            pass = sc.next();
        }
    }
}
